<!DOCTYPE html>
<html>
<head>
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<title>Administrator</title>
<meta name="author" content="Nhatnv">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="http://nhactinhca.com/public/theme/ntc/js/jquery-1.7.2.js"></script>
<!-- Font CSS  -->
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,700">

<!-- Core CSS  -->
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>fonts/glyphicons_pro/glyphicons.min.css">

<!-- Plugin CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/calendar/fullcalendar.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/datatables/css/datatables.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>css/animate.css">
<!-- Plugin CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/datatables/css/datatables.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/datatables/extras/TableTools/media/css/TableTools.css"><!-- Datatables TableTools Addon-->
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/editors/xeditable/css/bootstrap-editable.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/chosen/chosen.min.css" />

<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/tags/tagmanager.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/formswitch/css/bootstrap-switch.css" />

<!-- Theme CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>css/theme.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>css/pages.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>css/plugins.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>css/responsive.css">

<!-- Boxed-Layout CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>css/boxed.css">

<!-- Demonstration CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>css/demo.css">

<!-- Your Custom CSS -->
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>css/custom.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/editors/markitup/skins/simple/style.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/editors/markitup/sets/default/style.css">
<link rel="stylesheet" type="text/css" href="<?php echo $baseurl.'public/theme/manage/'?>vendor/editors/summernote/summernote.css">
<!-- Favicon -->
<link rel="shortcut icon" href="img/favicon.ico">

<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->

</head>
<body class="dashboard">
<script> baseUrl = '<?php echo $baseurl;?>';var boxtest = localStorage.getItem('boxed'); if (boxtest === 'true') {document.body.className+=' boxed-layout';} </script> 
<!-- Start: Theme Preview Pane -->

<div id="skin-toolbox">
  <div class="skin-toolbox-toggle"> <i class="fa fa-flask"></i> </div>
  <div class="skin-toolbox-panel">
    <h4 class="padding-left-sm">Theme Options</h4>
    <form id="skin-toolbox-form">
      <div class="form-group">
        <label class="checkbox-inline">
          <input id="header-option" class="checkbox" type="checkbox" checked>
          Fixed <b>Header</b> </label>
      </div>
      <div class="form-group">
        <label class="checkbox-inline">
          <input id="sidebar-option" class="checkbox" type="checkbox">
          Fixed <b>Sidebar</b> </label>
      </div>
      <div class="form-group">
        <label class="checkbox-inline option-disabled">
          <input id="breadcrumb-option" class="checkbox" type="checkbox" disabled>
          Fixed <b>Breadcrumbs</b> </label>
      </div>
      <hr class="short" style="margin: 7px 10px;" />
      <div class="form-group">
        <label class="checkbox-inline">
          <input id="breadcrumb-hidden" class="checkbox" type="checkbox">
          Hide <b>Breadcrumbs</b> </label>
      </div>
      <div class="form-group margin-bottom-lg">
        <label class="checkbox-inline">
          <input id="searchbar-hidden" class="checkbox" type="checkbox">
          Hide <b>Search Bar</b> </label>
      </div>
      <h4 class="padding-left-sm">Layout Options</h4>
      <div class="form-group">
        <label class="radio-inline">
          <input class="radio" type="radio" name="optionsRadios" id="fullwidth-option" checked>
          Fullwidth </label>
      </div>
      <div class="form-group">
        <label class="radio-inline">
          <input class="radio" type="radio" name="optionsRadios" id="boxed-option">
          Boxed Layout</label>
      </div>
      <hr class="short"/>
      <div class="form-group"> <a href="customizer.html" id="customizer-link" class="btn btn-warning btn-gradient btn-block padding-bottom padding-top">CUSTOMIZER</a> </div>
    </form>
  </div>
</div>
<!-- End: Theme Preview Pane --> 

<!-- Start: Header -->
<header class="navbar navbar-fixed-top">
<?php echo $this->load->view('block/header');?>
</header>
<!-- End: Header --> 
<!-- Start: Main -->
<div id="main"> 
  <!-- Start: Sidebar -->
  <aside id="sidebar">
  <?php echo $this->load->view('block/left');?>
  </aside>
  <!-- End: Sidebar --> 
  <!-- Start: Content -->
  <section id="content">
    <?php $this->load->view("temp/".($controller ? $controller : 'index')."/".($action ? $action : 'index'),'');?>
  </section>
  <!-- End: Content --> 
</div>

<!-- End: Main --> 
<input type="hidden" id="<?php echo $this->security->get_csrf_token_name(); ?>" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>"/>
<!-- Core Javascript - via CDN --> 

<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>


 
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <!-- Plugins - Via CDN --> 
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/flot/0.8.1/jquery.flot.min.js"></script> 
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery-sparklines/2.1.2/jquery.sparkline.min.js"></script> 
<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"></script> 
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/fullcalendar/1.6.4/fullcalendar.min.js"></script> 

<!-- Plugins - Via Local Storage
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/jqueryflot/jquery.flot.min"></script>
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/sparkline/jquery.sparkline.min.js"></script>
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/datatables/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/calendar/fullcalendar.min.js"></script>
--> 
<!-- Plugins -->
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/datatables/js/datatables.js"></script><!-- Datatable Bootstrap Addon -->
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/datatables/extras/TableTools/media/js/TableTools.min.js"></script><!-- Datatable TableTools Addon -->
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/datatables/extras/TableTools/media/js/ZeroClipboard.js"></script><!-- Datatable TableTools Addon -->
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/editors/xeditable/js/bootstrap-editable.js"></script> 
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/chosen/chosen.jquery.min.js"></script> 

<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/validate/jquery.validate.js"></script> 
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/tags/tagmanager.js"></script> 
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/formswitch/js/bootstrap-switch.min.js"></script> 

<!-- Plugins --> 
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/calendar/gcal.js"></script><!-- Calendar Addon --> 
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/jqueryflot/jquery.flot.resize.min.js"></script><!-- Flot Charts Addon --> 
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/datatables/js/datatables.js"></script><!-- Datatable Bootstrap Addon -->
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/jquerymask/jquery.maskedinput.min.js"></script> 


<!-- Theme Javascript --> 
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>js/uniform.min.js"></script> 
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/editors/markitup/jquery.markitup.js"></script>
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/editors/markitup/sets/default/set.js"></script>
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>js/main.js"></script> 
<!--<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>js/plugins.js"></script>--> 
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>js/custom.js"></script> 
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/editors/summernote/summernote.js"></script>
<script type="text/javascript" src="<?php echo $baseurl.'public/theme/manage/'?>vendor/plugins/nestable/jquery.nestable.js"></script>

 

<script type="text/javascript">
  jQuery(document).ready(function() {
	  
	// Init Theme Core 	  
	Core.init();
   
  // Example animations for Header Dropdown Menus - For Demo Purposes
    $('.header-btns > div').on('show.bs.dropdown', function() {
      $(this).children('.dropdown-menu').addClass('animated animated-short flipInY');
    });
    $('.header-btns > div').on('hide.bs.dropdown', function() {
      $(this).children('.dropdown-menu').removeClass('animated flipInY');
    });
     $('.summernote').summernote({
       height: 255,   //set editable area's height
       focus: false  //set focus editable area after Initialize summernote
       
     });
     
     
     $(".tm-input").tagsManager({
        tagsContainer: '.tag-container',
    	prefilled: [<?php echo @$data->tags_show?>],
    	tagClass: 'tm-tag-success',
    });
    var nestedList = ["#nestable1"];
	$.each(nestedList, function(i, ele) {
	   $(ele).nestable();
	});
    //$(".money").mask("999.999"); 

});
</script>
<style>
.pagination{
    margin: 5px;
    float: left;
    width: 100%;
    padding: 10px;
}
.pagination strong{
    padding: 5px 10px;
    background: #CCC;
    color: #d3332e;
}
.pagination strong{
    padding: 5px 10px;
    background: #CCC;
    color: #d3332e;
}
.pagination a{
    padding: 5px 10px;
    background: orange;
    color: #FFF;
}
</style>
</body>
</html>
